*{
    margin: 0;
    padding: 0;
}

.content{
    cursor: pointer;
    position: relative;
    height: 400px;
    width: 600px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #333;
}

#list{
    position: absolute;
    width: 600px;
    height: 400px;
}

#list img,#prev-btn,#next-btn,#index-btn{
    position: absolute;
}

#list img:not(:first-child){
    display: none;
}

#prev-btn,#next-btn{
    cursor: pointer;
    top:50%;
    background: url("../images/icon-slides.png") no-repeat;
    border: none;
    outline: none;
    height: 70px;
    width: 40px;
    transform: translateY(-50%);
    z-index: 100;
}

#prev-btn{
    background-position-x:-86px;
}
#prev-btn:hover{
    background-position-x: 0;
}

#next-btn{
    right: 0;
    background-position-x: -125px;
}

#next-btn:hover{
    background-position-x: -43px ;
}

#index-btn{
    z-index: 102;
    transform: translateX(-50%);
    bottom: 20px;
    left: 50%;
}

#index-btn span{
    cursor: pointer;
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 50%;
    border: 1px solid #fff;
    background-color: rgba(44, 44, 44,0.3);
}

#index-btn .current{
    background: orange;
}
